package com.ccloud.api.motorfactory.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * <p>
 * 货品-货品类型关联表
 * </p>
 *
 * @author chentl
 * @since 2022-04-09
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@TableName("m_part_and_type_rels")
public class MPartAndTypeRels implements Serializable {

    private static final long serialVersionUID=1L;

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 货品id | 关联货品表
     */
    private Integer partId;

    /**
     * 货品类型id | 关联货品类型
     */
    private String partType;
}
